<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><style type="text/css" media="screen">
body,html{
  background:none;
  padding:0; 
  margin:0
  font-family:SimSun,serif;
}
.fff{
  color: #fff;
}
.w27{
  height: 21px;
  font-size: 14px;
  letter-spacing:1px;
  text-align: right;
  color: #fefe0a;
  font-weight: bold;
}
.college{
  float: left;
  padding-left: 20px;
  font-size: 20px;
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
}
a{
  color: #fff;
}
#loginout{
  float:right;
}
.log{
  float: left;
  margin-left: 15px;
}
.log p{
  float: left;
  color: #fff;
  margin-top: 3px;
}
.login{
  width: 40px;
  margin-left: 20px;
  cursor: pointer;
}
input{
  width: 110px;
  height:21px;
}
</style>
<body style="background-color:transparent">
<div class="w27"><?php if($_username) { ?><?php echo L('hellow');?> <?php echo get_nickname();?>, <a href="<?php echo APP_PATH;?>index.php?m=member&siteid=<?php echo $siteid;?>" target="_blank"><?php echo L('member_center');?></a> <a href="<?php echo APP_PATH;?>index.php?m=member&c=index&a=logout&forward=<?php echo urlencode($_GET['forward']);?>&siteid=<?php echo $siteid;?>" target="_top"><?php echo L('logout');?></a>&nbsp;&nbsp;<a class="college fff" href="http://www.scau.edu.cn/scau/" target="_blank">华南农业大学</a>&nbsp;&nbsp;<a class="college fff" href="">动物科学学院党建网</a><?php } else { ?><a class="college fff" href="http://www.scau.edu.cn/scau/" target="_blank">华南农业大学</a>&nbsp;&nbsp;<a class="college fff" href="">动物科学学院党建网</a>
    <div id="loginout">
      <!-- <div class="log fff">
        <p>用户名：</p>
        <input type="text" value=""/>
      </div>
      <div class="log fff">
        <p>密码：</p>
        <input type="password" value=""/>
      </div> 
      <input class="login" type="submit" value="登录" onclick="window.parent.location.href='<?php echo APP_PATH;?>index.php?m=member&c=index&a=login';"/>-->
      <a href="<?php echo APP_PATH;?>index.php?m=member&c=index&a=login" class="login fff" target="_parent">登录</a>&nbsp;
      <a href="<?php echo APP_PATH;?>index.php?m=member&c=index&a=register" class="fff" target="_parent">注册</a>
    </div>
<?php } ?></div>
</body>